/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.base.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.chlitina.store.common.persistence.BaseEntity;

/**
 * 店员角色Entity
 * @author lvbo
 * @version 2013-07-05
 */
@Entity
@Table(name = "store_role")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class StoreRole extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	private Long id; 		// 店面人员角色编号
	private String name;	// 店面人员角色名称
	private String description;	// 描述信息

	public StoreRole() {
	}

	public StoreRole(Long id){
		this();
		this.id = id;
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}


